/*function Update () {
	InvokeRepeating("tag",0.1,0);
}

function tag(){
	gameObject.transform.tag = "Trail";
	CancelInvoke();
}*/
var bike : GameObject;

function OnTriggerExit(other : Collider){
		gameObject.transform.tag = "Trail";
		Localplayer.gameObject.SendMessage("spawnTrail");
}